package com.cykj.pos.domain;

import com.cykj.common.annotation.Excel;
import com.cykj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 刷卡扫码费率对象 biz_rate_data
 * 
 * @author ruoyi
 * @date 2021-09-02
 */
public class BizRateData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 显示名称 */
    @Excel(name = "显示名称")
    private String name;

    /** 运算名称 */
    @Excel(name = "运算名称")
    private String nickName;

    /** 状态 */
    @Excel(name = "状态")
    private String type;

    /** 排序 */
    @Excel(name = "排序")
    private Long px;

    /** 使用id */
    @Excel(name = "使用id")
    private String accountId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setPx(Long px) 
    {
        this.px = px;
    }

    public Long getPx() 
    {
        return px;
    }
    public void setAccountId(String accountId) 
    {
        this.accountId = accountId;
    }

    public String getAccountId() 
    {
        return accountId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("nickName", getNickName())
            .append("type", getType())
            .append("px", getPx())
            .append("accountId", getAccountId())
            .toString();
    }
}
